 /* 
 * File:   cScene.cpp
 * Author: josep
 * 
 * Created on 11 / desembre / 2010, 17:10
 */

#include "cScene.h"

cScene::cScene() {
	InitialOffsetX=0;
	InitialOffsetY=0;
}

cScene::cScene(const cScene& orig):cTexturizedObject(orig) {
    InitialOffsetX=orig.InitialOffsetX;
    InitialOffsetY=orig.InitialOffsetY;
    pCamera = orig.pCamera;
}

cScene::~cScene() {
}

void cScene::SetCamera(cCamera* Camera) {
    this->pCamera = Camera;
}

void cScene::Init(cTexture *texture, cCamera *Camera){
    cTexturizedObject::Init(texture);
    pCamera=Camera;
}

void cScene::Init(cCamera *Camera){
    pCamera=Camera;
}

void cScene::SetSpeedReductionFactorX(float SpeedReductionFactorX) {
    this->SpeedReductionFactorX = SpeedReductionFactorX;
}
float cScene::GetSpeedReductionFactorX(){
    return SpeedReductionFactorX;
}

